Skip to content

update envoy to f40e279#1420

Merged
junr03 merged 4 commits intoenvoyproxy:mainfrom
jingwei99:jw_pull_envoy
Apr 28, 2021
Merged

update envoy to f40e279#1420
junr03 merged 4 commits intoenvoyproxy:mainfrom
jingwei99:jw_pull_envoy

Conversation

@jingwei99
Copy link
Copy Markdown
Contributor

Description: the primary goal is to pull this pr envoyproxy/envoy#16125, as it includes behavior of metrics_sink to send tags as labels of the MetricFamily field.
Risk Level: medium
Testing: local build/ci
Signed-off-by: Jingwei Hao jingwei.hao@gmail.com

"@type": type.googleapis.com/envoy.config.metrics.v3.MetricsServiceConfig
transport_api_version: V3
report_counters_as_deltas: true
emit_tags_as_labels: true
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

google_re2: {}
regex: '^vhost.api.vcluster\.[\w]+?\.upstream_rq_(?:[12345]xx|retry.*|time|timeout|total)'
use_all_default_tags:
true
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as envoyproxy/envoy#16125 changes the behavior of metrics_sink, this is necessary to keep the metric names emitted by envoy the way it is, reference: https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/metrics/v3/stats.proto#envoy-v3-api-msg-config-metrics-v3-statsconfig,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You want this to be false to preserve the existing stat names, this defaults to true

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@jingwei99 jingwei99 requested a review from junr03 April 27, 2021 17:50
@jingwei99 jingwei99 marked this pull request as ready for review April 27, 2021 17:50
@jingwei99 jingwei99 requested a review from snowp April 27, 2021 22:32
Signed-off-by: Jingwei Hao <jingwei.hao@gmail.com>
Signed-off-by: Jingwei Hao <jingwei.hao@gmail.com>
Signed-off-by: Jingwei Hao <jingwei.hao@gmail.com>
Signed-off-by: Jingwei Hao <jingwei.hao@gmail.com>
- safe_regex:
google_re2: {}
regex: '^vhost.api.vcluster\.[\w]+?\.upstream_rq_(?:[12345]xx|retry.*|time|timeout|total)'
use_all_default_tags:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what does this do?

Copy link
Copy Markdown
Contributor Author

@jingwei99 jingwei99 Apr 28, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as envoyproxy/envoy#16125 changes the behavior of metrics_sink, this is necessary to keep the metric names emitted by envoy the way it is, doc is here: https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/metrics/v3/stats.proto#envoy-v3-api-msg-config-metrics-v3-statsconfig

somehow this comment is lost from the history ... :(

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, it's here: #1420 (comment)

@junr03 junr03 merged commit 2611b1a into envoyproxy:main Apr 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants